﻿using System;
using System.Threading;

namespace Chapter1_7
{
    public static class Program
    {
        public static void Main(string[] args)
        {
            ThreadPool.QueueUserWorkItem((s) => {
                for (int i = 0; i < 10; i++)
                {
                    Console.WriteLine("Thread proc {0}", i);
                }
            });
            
            Console.ReadLine(); 
        }
    }
}
